<%-- 
    Document   : adminGhostEdit
    Created on : 23.11.2012, 14:58:58
    Author     : Siliarus
--%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="java.util.Locale" %>
<fmt:bundle basename="StripesResources" /> 
    <fmt:message key='admin.ghostEdit' var="title"/>
<s:layout-render name="adminlayout.jsp" nadpis="${title}">
    <s:layout-component name="telo">
        <s:useActionBean beanclass="cz.muni.fi.pa165.hauntedhouses.web.AdminGhostsActionBean" var="actionBean"/>
        <center>
        <s:form style="width:400px" beanclass="cz.muni.fi.pa165.hauntedhouses.web.AdminGhostsActionBean">
            <s:hidden name="ghost.id"/>
            <fieldset><legend><fmt:message key="admin.changeEntries"/></legend>
                <%@include file="adminGhostForm.jsp"%>
                <s:submit name="save"><fmt:message key="save"/></s:submit>
                <s:submit name="storno"><fmt:message key="storno"/></s:submit>
                </fieldset>
        </s:form>
        </center>
    </s:layout-component>
</s:layout-render>
